Java ByteBuffer to Long getUInteger(ByteBuffer bb)

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

Description

get U Integer

License

Open Source License

Declaration

public static long getUInteger(ByteBuffer bb) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.nio.ByteBuffer;

public class Main {
    public static long getUInteger(ByteBuffer bb) {
        return bb.getInt() & 0xffffffffL;
    }//from   w w  w.j a v  a 2 s.c  o  m
}

Related

  1. getUInt16(ByteBuffer b, int n)
  2. getUInt16(ByteBuffer buffer)
  3. getUInt16(ByteBuffer buffer)
  4. getUInt32(ByteBuffer b)
  5. getUInt8(ByteBuffer b, int n)
  6. readLong(ByteBuffer buf, int length)
  7. readLong(ByteBuffer buffer)
  8. readLong(ByteBuffer buffer)
  9. readLong(ByteBuffer in)