Quoting constructs: Difference between revisions

Content added Content deleted
Line 418: Line 418:


====ByteArrays====
====ByteArrays====
A dense collection of byte valued integers is written as #[..].
A dense collection of byte valued integers is written as #[..]. Conceptionally, they are arrays of integer values in the range 0..255, but use only one byte per element of storage. They are typically used for bulk storage such as bitmap images, or when exchanging such with external functions.
<lang smalltalk>#[ 1 2 16rFF 2r0101010 ]</lang>
<lang smalltalk>#[ 1 2 16rFF 2r0101010 ]</lang>