Top "Bytebuffer" questions

A binary buffer with no specific encoding.

How to put the content of a ByteBuffer into an OutputStream?

I need to put the contents of a java.nio.ByteBuffer into an java.io.OutputStream. (wish I had a …

java outputstream bytebuffer
C/C++ Why to use unsigned char for binary data?

Is it really necessary to use unsigned char to hold binary data as in some libraries which work on character …

c++ c character-encoding bytebuffer rawbytestring
ByteBuffer not releasing memory

On Android, a direct ByteBuffer does not ever seem to release its memory, not even when calling System.gc(). Example: …

android memory-leaks java-native-interface bytebuffer
ByteBuffer and Byte Array

Problem I need to convert two ints and a string of variable length to bytes. What I did I converted …

java byte bytebuffer
ByteBuffer Little Endian insert not working

I have to make a two way communication between a legacy system and an android device. The legacy system uses …

java android bytebuffer endianness
How to convert a double into a byte array in swift?

I know how to do it in java (see here), but I couldn't find a swift equivalent for java's ByteBuffer, …

ios swift byte bytearray bytebuffer
JNI - native method with ByteBuffer parameter

I've got a method: public native void doSomething(ByteBuffer in, ByteBuffer out); Generated by javah C/C++ header of this …

java c java-native-interface bytebuffer
How to use Wrap Method of ByteBuffer in Java

Okay, so I was looking up what the best way to convert from a byte array to it's numeric value …

java arrays type-conversion byte bytebuffer
How to fill byte array with junk?

I am using this: byte[] buffer = new byte[10240]; As I understand this initialize the buffer array of 10kb filled with 0…

c# arrays bytearray bytebuffer
byte collection based similar with ByteBuffer from java

I need a C# implementation of something similar with ByteBuffer from Java. Methods of interest - .remaining() - returns the …

c# java bytebuffer