format
typescript
MemoryStream.PrepareRead(limit_length)class: MemoryStream
description
Performs the operation to prepare for reading data.
When this method is called, it sets the size of the data stream of the current MemoryStream object to the specified size. If the size of the data stream to be read is not specified, it is set to the current read/write position. Then, it sets the current read/write position to 0.
parameter
| param_name | type | description |
|---|---|---|
| limit_length | number? | Specifies the size of the data stream to be read. |
reture
| type | description |
|---|---|
void |
