dp-s_doc/Object/NativePointer/NativePointer.md

71 lines
1.1 KiB
Markdown
Raw Normal View History

2025-03-23 18:51:55 +08:00
# NativePointer 类函数文档
**类说明**
`NativePointer`类为服务端Native层内存对象。
**注意事项**
进阶操作,不提供说明,请确保自身有足够的能力编写,与群内其他开发者或群主沟通使用
---
- `function add(intoffset)`
- `function sub(intoffset)`
- `function writeByteArray(arr)`
- `function readByteArray(size)`
- `function writeS8(value)`
- `function writeU8(value)`
- `function writeS16(value)`
- `function writeU16(value)`
- `function writeS32(value)`
- `function writeU32(value)`
- `function writeShort(value)`
- `function writeUShort(value)`
- `function writeInt(value)`
- `function writeUInt(value)`
- `function writeFloat(value)`
- `function writeDouble(value)`
- `function readS8()`
- `function readU8()`
- `function readS16()`
- `function readU16()`
- `function readS32()`
- `function readU32()`
- `function readShort()`
- `function readUShort()`
- `function readInt()`
- `function readUInt()`
- `function readFloat()`
- `function readDouble()`
- `function readUtf8String(...)`
- `function readPointer()`
---