📄 rvdatabuffer.c
字号:
}
{proto: void rvDataBufferSkip(RvDataBuffer* thisPtr, RvUint32 size);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:size} {d:The number of bytes to skip.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadUint8Array }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an array of RvUint8s from the front of the data buffer.}
}
{proto: void rvDataBufferReadUint8Array(RvDataBuffer* thisPtr, RvUint8* dataPtr, RvUint32 length);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:dataPtr} {d:A pointer the the array to hold the data read from the buffer.}}
{param: {n:length} {d:A length of the buffer in bytes.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferWriteUint8Array }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes an array RvUint8s onto the front of the data buffer.}
}
{proto: void rvDataBufferWriteUint8Array(RvDataBuffer* thisPtr, RvUint8* dataPtr, RvUint32 length);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The RvUint8 buffer to write into the data buffer.}}
{param: {n:length} {d:A length of the RvUint8 buffer in bytes.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferFillUint8 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes a variable number of an RvUint8 value onto the front of the data buffer.}
}
{proto: void rvDataBufferFillUint8(RvDataBuffer* thisPtr, RvUint8 data, RvUint32 length);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The value to fill into the data buffer.}}
{param: {n:length} {d:The number of RvUint8s to fill into the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadUint8 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an RvUint8 from the front of the data buffer.}
}
{proto: void rvDataBufferReadUint8(RvDataBuffer* thisPtr, RvUint8* dataPtr);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:dataPtr} {d:A pointer the the variable to hold the data read from the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferWriteUint8 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes an RvUint8 onto the front of the data buffer.}
}
{proto: void rvDataBufferWriteUint8(RvDataBuffer* thisPtr, RvUint8 data);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The value to write into the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadInt8 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an RvInt8 from the front of the data buffer.}
}
{proto: void rvDataBufferReadInt8(RvDataBuffer* thisPtr, RvInt8* dataPtr);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:dataPtr} {d:A pointer the the variable to hold the data read from the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferWriteUint8 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes an RvInt8 onto the front of the data buffer.}
}
{proto: void rvDataBufferWriteInt8(RvDataBuffer* thisPtr, RvInt8 data);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The value to write into the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadUint16 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an RvUint16 from the front of the data buffer.}
}
{proto: void rvDataBufferReadUint16(RvDataBuffer* thisPtr, RvUint16* dataPtr);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:dataPtr} {d:A pointer the the variable to hold the data read from the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferWriteUint16 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes an RvUint16 onto the front of the data buffer.}
}
{proto: void rvDataBufferWriteUint16(RvDataBuffer* thisPtr, RvUint16 data);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The value to write into the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadInt16 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an RvInt16 from the front of the data buffer.}
}
{proto: void rvDataBufferReadInt16(RvDataBuffer* thisPtr, RvInt16* dataPtr);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:dataPtr} {d:A pointer the the variable to hold the data read from the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferWriteUint16 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes an RvInt16 onto the front of the data buffer.}
}
{proto: void rvDataBufferWriteInt16(RvDataBuffer* thisPtr, RvInt16 data);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The value to write into the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadUint32 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an RvUint32 from the front of the data buffer.}
}
{proto: void rvDataBufferReadUint32(RvDataBuffer* thisPtr, RvUint32* dataPtr);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:dataPtr} {d:A pointer the the variable to hold the data read from the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferWriteUint32 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes an RvUint32 onto the front of the data buffer.}
}
{proto: void rvDataBufferWriteUint32(RvDataBuffer* thisPtr, RvUint32 data);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The value to write into the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadInt32 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an RvInt32 from the front of the data buffer.}
}
{proto: void rvDataBufferReadInt32(RvDataBuffer* thisPtr, RvInt32* dataPtr);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:dataPtr} {d:A pointer the the variable to hold the data read from the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferWriteUint32 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes an RvInt32 onto the front of the data buffer.}
}
{proto: void rvDataBufferWriteInt32(RvDataBuffer* thisPtr, RvInt32 data);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The value to write into the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferRewindBack }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method moves the back reading pointer backwords by n bytes to allow
older data to be read again.}
}
{proto: void rvDataBufferRewindBack(RvDataBuffer* thisPtr, RvUint32 size);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:size} {d:The number of bytes to rewind.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferSkipBack }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method moves the back reading pointer forwords by a variable number
of bytes without reading the value.}
}
{proto: void rvDataBufferSkipBack(RvDataBuffer* thisPtr, RvUint32 size);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:size} {d:The number of bytes to skip.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadBackUint8 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an RvUint8 from the back of the data buffer.}
}
{proto: void rvDataBufferReadBackUint8(RvDataBuffer* thisPtr, RvUint8* dataPtr);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:dataPtr} {d:A pointer the the variable to hold the data read from the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferWriteBackUint8 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes an RvUint8 onto the back of the data buffer.}
}
{proto: void rvDataBufferWriteBackUint8(RvDataBuffer* thisPtr, RvUint8 data);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The value to write into the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadBackUint8Array }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an array of RvUint8s from the back of the data buffer.}
}
{proto: void rvDataBufferReadBackUint8Array(RvDataBuffer* thisPtr, RvUint8* dataPtr, RvUint32 length);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:dataPtr} {d:A pointer the the array to hold the data read from the buffer.}}
{param: {n:length} {d:A length of the buffer in bytes.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferWriteBackUint8Array }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes an array RvUint8s onto the back of the data buffer.}
}
{proto: void rvDataBufferWriteBackUint8Array(RvDataBuffer* thisPtr, RvUint8* dataPtr, RvUint32 length);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The RvUint8 buffer to write into the data buffer.}}
{param: {n:length} {d:A length of the RvUint8 buffer in bytes.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferFillBackUint8 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method pushes a variable number of an RvUint8 value onto the back of the data buffer.}
}
{proto: void rvDataBufferFillBackUint8(RvDataBuffer* thisPtr, RvUint8 data, RvUint32 length);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
{param: {n:data} {d:The value to fill into the data buffer.}}
{param: {n:length} {d:The number of RvUint8s to fill into the buffer.}}
}
}
$*/
/*$
{function:
{name: rvDataBufferReadBackInt8 }
{class: RvDataBuffer}
{include: rvdatabuffer.h}
{description:
{p: This method reads and pops an RvInt8 from the back of the data buffer.}
}
{proto: void rvDataBufferReadBackInt8(RvDataBuffer* thisPtr, RvInt8* dataPtr);}
{params:
{param: {n:thisPtr} {d:The RvDataBuffer object.}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -