added System<<getBytes, System<<putBytes.

also added primitive functions for the above
This commit is contained in:
hyunghwan.chung
2017-12-09 15:47:43 +00:00
parent 471d8ad797
commit 541ab59028
5 changed files with 232 additions and 85 deletions

View File

@ -314,6 +314,9 @@ TODO: how to pass all variadic arguments to another variadic methods???
method(#class,#primitive) putUint16 (rawptr, offset, value).
method(#class,#primitive) putUint32 (rawptr, offset, value).
method(#class,#primitive) putUint64 (rawptr, offset, value).
method(#class,#primitive) getBytes (rawptr, offset, byte_array, offset_in_buffer, len_in_buffer).
method(#class,#primitive) putBytes (rawptr, offset, byte_array, offset_in_buffer, len_in_buffer).
}
@ -338,6 +341,6 @@ class SmallPointer(Object)
method(#primitive) putUint16 (offset, value).
method(#primitive) putUint32 (offset, value).
method(#primitive) putUint64 (offset, value).
method(#primitive) free.
}