Top "Bytebuffer" questions

A binary buffer with no specific encoding.

How to convert a Data Class to ByteBuffer in Kotlin?

I am trying to use Kinesis, which expects data in byte buffer format. All the examples I have seen so …

kotlin aws-sdk bytebuffer amazon-kinesis-kpl
Android download file out of memory woes

I am trying to download a zip file that is just less than 22 mb on start. I changed the default …

java android bytebuffer
How do you get successive slices out of a ByteBuffer?

I have a ByteBuffer that contains a large file (100 MB): java.nio.ByteBuffer byteBuffer = ByteBuffer.wrap(multipartFile.getBytes()); writeChannel.write(…

java bytebuffer
How to use ByteBuffer in the MediaCodec context in android

So far I am able to setup a MediaCodec to encode a video stream. The aim is to save my …

android media bytebuffer encoder
Compare Direct and Non-Direct ByteBuffer get/put operations

Is get/put from a non-direct bytebuffer faster than get/put from direct bytebuffer ? If I have to read / write …

java memory nio bytebuffer
Prevent OutOfMemory when using java.nio.MappedByteBuffer

Consider application, which create 5-6 threads, each thread in cycle allocate MappedByteBuffer for 5mb page size. MappedByteBuffer b = ch.map(…

java nio out-of-memory bytebuffer filechannel
compare ByteBuffer contents?

What's the easiest way in Java to compare the contents of two ByteBuffers to check for equality?

java bytebuffer
byte[] to ushort[]

Here is my question. Bear with me giving a little explanation: I am reading tiff image into buffer; Each pixel …

c# bytebuffer data-conversion ushort
Can multiple threads see writes on a direct mapped ByteBuffer in Java?

I'm working on something that uses ByteBuffers built from memory-mapped files (via FileChannel.map()) as well as in-memory direct ByteBuffers. …

java concurrency memory-mapped-files bytebuffer filechannel