Answer the 16-bit Boolean at byte offset
anInteger from the start of the storage area referenced by the receiver.
Set the 16-bit Boolean at byte offset
anInteger from the start of the storage area referenced by the receiver to the integer value of
aValue.
aValue may be
nil,
true,
false, an
Integer, a
Character, or an
OSObject.
aValue is converted using the same rules as the pointer call-out conversion. There is one exception--instances are not allowed of
OSObject that point to Smalltalk memory that is not fixed.
Answer the 32-bit Boolean at byte offset
anInteger from the start of the storage area referenced by the receiver.
Set the 32-bit Boolean at byte offset
anInteger from the start of the storage area referenced by the receiver to the integer value of
aValue.
aValue may be
nil,
true,
false, an
Integer, a
Character, or an
OSObject.
aValue is converted using the same rules as the pointer call-out conversion. There is one exception--instances are not allowed of
OSObject that point to Smalltalk memory that is not fixed.
Answer the 8-bit Boolean at byte offset anInteger from the start of the storage area referenced by the receiver.
Set the 8-bit Boolean at byte offset
anInteger from the start of the storage area referenced by the receiver to the integer value of
aValue.
aValue might be
nil,
true,
false, an
Integer, a
Character, or an
OSObject. aValue is converted using the same rules as the pointer call-out conversion. There is one exception--instances are not allowed of
OSObject that point to Smalltalk memory that is not fixed.
Answer an instance of Float representing the 32-bit floating-point value at byte offset
anInteger from the start of the storage area referenced by the receiver.
Answer an instance of Float representing the 64-bit floating-point value at byte offset
anInteger from the start of the storage area referenced by the receiver.
Set the 64-bit Integer at byte offset
anInteger from the start of the storage area referenced by the receiver to the integer value of
aValue.
aValue may be
nil,
true,
false, an
Integer, a
Character, or an
OSObject.
aValue is converted using the same rules as the pointer call-out conversion. There is one exception--instances are not allowed of
OSObject that point to Smalltalk memory that is not fixed.
Answer the 32/64-bit Integer at byte offset
anInteger from the start of the storage area referenced by the receiver.
Set the 32/64-bit Integer at byte offset
anInteger from the start of the storage area referenced by the receiver to the integer value of aValue.
aValue might be
nil,
true,
false, an
Integer, a
Character, or an
OSObject. aValue is converted using the same rules as the pointer call-out conversion. There is one exception--instances are not allowed of
OSObject that point to Smalltalk memory that is not fixed.
Create and answer a new struct instance of anOSObjectSubclass that points to the storage of the receiver starting at
anInteger. An error is signaled if
anInteger is less than
anOSObjectSubclass fixedSize bytes from the end of the receiver's storage.
Set the 32/64-bit signed Integer at byte offset
anInteger from the start of the storage area referenced by the receiver to the integer value of aValue.
aValue might be
nil,
true,
false, an
Integer, a
Character, or an
OSObject. aValue is converted using the same rules as the pointer call-out conversion. There is one exception--instances are not allowed of
OSObject that point to Smalltalk memory that is not fixed.
Answer an signed Integer, which is large enough to span the range of a pointer,
at byte offset
anInteger from the start of the storage area referenced by the receiver.
Create and answer a new struct instance of anOSObjectSubclass and copies enough bytes to fill it from the receiver starting at
anInteger. An error is signaled if
anInteger is less than
anOSObjectSubclass fixedSize bytes from the end of the receiver's storage.
Copy the storage referenced by anOSObject over the storage for the receiver starting at
anInteger. An error is signaled if
anInteger is less than
anOSObject class fixedSize bytes from the end of the receiver's storage.
Answer a ByteArray containing a copy of the bytes pointed to by the receiver from byte offset start up to and including byte offset
stop.
Answer a String containing a copy of the bytes pointed to by the receiver from byte offset
start up to and including byte offset
stop.
Copy bytes from byte offset start in the receiver up to and including byte offset
stop into
anOSOrBitObject starting at byte index
repStart. Answer
anOSOrBitObject.
anOSOrBitObject might be a byte, word, or long object, or an
OSObject.
Set the 32/64-bit unsigned Integer at byte offset
anInteger from the start of the storage area referenced by the receiver to the integer value of aValue.
aValue might be
nil,
true,
false, an
Integer, a
Character, or an
OSObject. aValue is converted using the same rules as the pointer call-out conversion. There is one exception--instances are not allowed of
OSObject that point to Smalltalk memory that is not fixed.
Answer an unsigned Integer, which is large enough to span the range of a pointer,
at byte offset
anInteger from the start of the storage area referenced by the receiver.
Set the unsigned Integer, which is large enough to span the range of a pointer, at byte offset
anInteger from the start of the storage area referenced by the receiver to the integer value of aValue.
aValue might be
nil,
true,
false, an
Integer, a
Character, or an
OSObject. aValue is converted using the same rules as the pointer call-out conversion. There is one exception--instances are not allowed of
OSObject that point to Smalltalk memory that is not fixed.
Answer a Boolean indicating whether the receiver and
anOSObject are equal. Two instances of
OSObject are considered to be equal if they represent the identical storage in operating system or Smalltalk memory.
Compare the bytes in the receiver from offset start to
stop with the bytes in
aCollection starting at
repStart. If the bytes are all equal, answer 0. If the bytes are not all equal, the result is based on the first bytes that are not equal. If the byte from the receiver is less than the byte from
aCollection, answer -1. If the byte from the receiver is greater than the byte from
aCollection, answer 1.
anOSOrBitObject might be a byte, word, or long object, or an
OSObject.
Answer true if the receiver is an immediate.
Answer true if the receiver represents a pointer to operating system memory.
Answer true if the receiver is a NULL value; that is, if the receiver is a pointer to location 0 in memory.
Answer true if the receiver represents a pointer to Smalltalk memory.
Answer true if the receiver is not a NULL value.
Copyright 2005, 2020 Instantiations, Inc. All rights reserved.