Java ByteBuffer Get getSByte(ByteBuffer buffer)

Here you can find the source of getSByte(ByteBuffer buffer)

Description

get S Byte

License

Open Source License

Declaration

public static byte getSByte(ByteBuffer buffer) 

Method Source Code

//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*/
}

Related

  1. getRel(ByteBuffer bb, int rel)
  2. getRemaining(ByteBuffer[] byteBuffers)
  3. getRemainingArray(ByteBuffer buffer)
  4. getRepeatSequenceCount(ByteBuffer buffer, int limitCount)
  5. getRSString(ByteBuffer buffer)
  6. getSequenceNumber(ByteBuffer chunk)
  7. getShiftedI32(final int bytesPerPixel, final ByteBuffer data, final boolean retainDataPos)
  8. getSize(int size, ByteBuffer buffer)
  9. getSizePrefix(ByteBuffer bb)