Next: , Previous: ByteArray-basic, Up: ByteArray


1.14.3 ByteArray: built ins

asCData: aCType
Convert the receiver to a CObject with the given type


byteAt: index
Answer the index-th indexed instance variable of the receiver


byteAt: index put: value
Store the `value' byte in the index-th indexed instance variable of the receiver


hash
Answer an hash value for the receiver


replaceFrom: start to: stop with: aByteArray startingAt: replaceStart
Replace the characters from start to stop with the bytes contained in aByteArray (which, actually, can be any variable byte class), starting at the replaceStart location of aByteArray


replaceFrom: start to: stop withString: aString startingAt: replaceStart
Replace the characters from start to stop with the ASCII codes contained in aString (which, actually, can be any variable byte class), starting at the replaceStart location of aString