Here you can find the source of readUInt8(ByteBuffer bb)
Parameter | Description |
---|---|
bb | The byte buffer. |
public static byte readUInt8(ByteBuffer bb)
//package com.java2s; //License from project: LGPL import java.nio.ByteBuffer; public class Main { /**/* w w w .j a v a 2 s .c om*/ * Read an 8-bit unsigned integer from the byte buffer. * * @param bb The byte buffer. * @return The value. */ public static byte readUInt8(ByteBuffer bb) { return bb.get(); } }