Here you can find the source of getSByte(ByteBuffer buffer)
public static byte getSByte(ByteBuffer buffer)
//package com.java2s; //License from project: Open Source License import java.nio.ByteBuffer; public class Main { public static byte getSByte(ByteBuffer buffer) { assert (buffer.capacity() - buffer.position() >= 1); return buffer.get(); }/*from ww w . ja v a 2 s .c o m*/ }