Home > Language Reference > Classes > StreamSerial
BufferSize Property
Sets the size of the receive queue.
Syntax
Public Property Get BufferSize() As Integer
Public Property Let BufferSize(ByVal iSize As Integer)
| Parameter | Description |
| iSize | New size of the receive queue, expressed in bytes. |
Remarks
The BufferSize property sets or retrieves the size of the internal serial manager receive queue. The default size is 512 bytes. To save memory, you should only consider increasing the receive queue if you notice a large number of hardware or software overruns while running your application.
Note: you have to ensure that the communication port is open using the Open method before setting this property.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.3 | N/A |