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)

ParameterDescription
iSizeNew 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

SystemMinimal versionRemarks
Palm OSPalm OS 3.3N/A