Skip to content

byte arrays seems to be immutably zeroed  #516

Description

@shlomiv

Hey,

While attempting to work with byte arrays, I tried creating one using (byte-array [1 2 3]), however, all I got in return was (into [] (byte-array [1 2 3])) => [0 0 0]. I checked out the code, and it seems to only provide a way to examine byte-arrays (aka nth), but no way to mutate them, or preferably, create them with any meaningful values.

Was I doing something wrong, or is this a real issue?

Thanks!

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