Java ByteBuffer from Byte Array asByteBuffer(byte... arguments)

Here you can find the source of asByteBuffer(byte... arguments)

Description

as Byte Buffer

License

BSD License

Declaration

public static ByteBuffer asByteBuffer(byte... arguments) 

Method Source Code

//package com.java2s;
/**/*w w w.j av a  2s . c  o m*/
 * This class is part of JCodec ( www.jcodec.org ) This software is distributed
 * under FreeBSD License
 * 
 * @author The JCodec project
 * 
 */

import java.nio.ByteBuffer;

public class Main {
    public static ByteBuffer asByteBuffer(byte... arguments) {
        return ByteBuffer.wrap(arguments);
    }
}

Related

  1. buffer2Bytes(ByteBuffer bbuf)
  2. bufToArray(ByteBuffer b)
  3. bufToArray(ByteBuffer b)
  4. byteBuffer(byte[] a)