Java ByteBuffer Get getBatch(ByteBuffer bb)

Here you can find the source of getBatch(ByteBuffer bb)

Description

get Batch

License

Apache License

Declaration

private static long getBatch(ByteBuffer bb) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.nio.ByteBuffer;

public class Main {
    private static final int batchPos = 0;

    private static long getBatch(ByteBuffer bb) {
        return bb.getLong(batchPos);
    }/*from w w  w .  j a  v a2 s. co  m*/
}

Related

  1. getAsBytes(List buffers)
  2. getAscii(ByteBuffer bytes)
  3. getAsciiString(ByteBuffer buffer)
  4. getAsIntArray(ByteBuffer yuv, int size)
  5. getAttrs(Map fields)
  6. getBigDecimalFromByteBuffer( ByteBuffer bytebuf, int start, int length, int scale)
  7. getBit(ByteBuffer in, int pos)
  8. getBitString(java.nio.ByteBuffer buffer, int lenBits)
  9. getBoolean(ByteBuffer b)