Skip to content

Implementing Java's ByteBuffer.allocate #3

@Brhsoftco

Description

@Brhsoftco

I am porting a Java program which utilises a UTF-8 string conversion to a byte array. It then allocates a byte buffer with a fixed value of 16, before writing each UTF-8 integer representation into the buffer.

How could I reimplement this using this library? It seems the function call to allocate() is missing...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions