Skip to content

java.nio.ByteBuffer putInt(), etc., should use byte order specified  #5

Description

@slyubomirsky

The present specification for putInt() uses Java's default byte order (big endian) for turning an int into bytes but the Javadocs for java.nio.ByteBuffer state that while the byte order is big endian by default, it can be set to little endian using order(ByteOrder).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions