Add arbitrary size byte arrays #947
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "arbitrary_sized_byte_arrays"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: hanssv
Introduce arbitrary sized binary arrays (type
bytes()
); addingBytes.split_any
,Bytes.to_fixed_size
,Bytes.to_any_size
,Bytes.size
,String.to_bytes
, andInt.to_bytes
; and adjustBytes.concat
to allow both fixed and arbitrary sized byte arrays.This PR is supported by the Æternity Crypto Foundation
Created by: seanhinde
Would prefer:
""Concatenates two byte arrays. If
m
andn
are..""Created by: seanhinde
Review: Approved
Created by: radrow
You know there is an amazing function lists:enumerate which was added to stdlib by a well known and respected compiler developer?
Created by: radrow
Review: Approved
Created by: hanssv
Yes, but only in OTP-25 :-) we still support older versions I think!
Merged by: hanssv at 2023-06-30 14:21:50 UTC