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