ArrayCodec<E, R extends RType> class
- Inheritance
-
- Mixed-in types
-
Properties
-
count
→ int
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
inner
→ ContiguousCodec<E, R>
-
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ RArray<R>
-
Native type describing the memory region this codec reads and writes.
finalinherited
Methods
-
allocate(RaylibTemp<RaylibBase> temp, MemoryPointer<RType> p, String key, {int count = 1, bool raw = false})
→ void
-
Allocates any backing storage for a value at
p, using temp and
identified by key. count and raw are for codecs that allocate
arrays or need unmanaged memory.
override
-
allocator(RaylibTemp<RaylibBase> temp)
→ RaylibTempAllocator<RType>?
-
Returns the temp allocator this codec uses to allocate backing storage
out of
temp, or null if it doesn't allocate.
override
-
elementPtr(MemoryPointer<RType> fieldPtr, int index)
→ MemoryPointer<R>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
read(MemoryPointer<RType> p)
→ List<E>
-
Reads a value of type
E from the memory at p.
override
-
readArray(MemoryPointer<RType> p, int count)
→ List<List<E>>
-
Reads
count consecutive values starting at p.
override
-
readAt(MemoryPointer<RType> fieldPtr, int index)
→ E
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
write(MemoryPointer<RType> p, List<E> values)
→ void
-
Writes
value to the memory at p.
override
-
writeArray(MemoryPointer<RType> p, List<List<E>> values)
→ void
-
Writes
values consecutively starting at p.
override
-
writeAt(MemoryPointer<RType> fieldPtr, int index, E value)
→ E
-