ByteArray
Last updated at 2:33 pm UTC on 12 September 2017
ArrayedCollection variableByteSubclass: #ByteArray
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Collections-Arrayed'
Class comment:
I represent an ArrayedCollection whose elements are integers between 0 and 255.
Example:
Print-it
#[ 1 1 2 3 5 8 13 ] class ByteArray
#[ 1 1 2 3 5 8 13 21] hex. '0101020305080d15'
ByteArray readHexFrom: #[ 1 1 2 3 5 8 13 ] hex.
Conversion: asByteArray example
See also ByteString