Here you can find the source of writeByte(ByteBuffer dest, int off, int i)
public static void writeByte(ByteBuffer dest, int off, int i)
//package com.java2s; /* Partial import of https://github.com/jpountz/lz4-java, Apache 2.0 licensed. */ import java.nio.ByteBuffer; public class Main { public static void writeByte(ByteBuffer dest, int off, int i) { dest.put(off, (byte) i); }/*from w w w .j a v a 2 s . co m*/ }