Java ByteBuffer Decode decodeStoredBits(ByteBuffer bb)

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

Description

decode Stored Bits

License

Apache License

Declaration

static int decodeStoredBits(ByteBuffer bb) 

Method Source Code


//package com.java2s;
/*/*from w w  w .  j  a va 2 s .co m*/
 * Copyright 2014 Jeff Hain
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import java.nio.ByteBuffer;

public class Main {
    static int decodeStoredBits(ByteBuffer bb) {
        return bb.getInt();
    }
}

Related

  1. decodeIO(String encoding, ByteBuffer bbuf)
  2. decodeLength(ByteBuffer buf)
  3. decodeLong(ByteBuffer buffer, int start)
  4. decodeNIO(String encoding, ByteBuffer bbuf)
  5. decodeNumber(byte firstByte, ByteBuffer buffer)
  6. decodeStringSequence(ByteBuffer bb)
  7. decodeThrowing(Charset charset, ByteBuffer in)
  8. decodeTime(byte firstByte, ByteBuffer buffer)
  9. decodeTimeWithoutSign(byte firstByte, ByteBuffer buffer)