Dart Tcp, Daemon, Udp Controls
ReadBytes Method
Specifies how much data is to be read.
Description
Return data from the current position as a Byte Array. Reading starts at the Position property. Set Position to change the position.
Syntax
Visual Basic
Public Function ReadBytes( _
   Optional ByVal Count As Long = 0 _
) As Variant
Parameters
Count
Specifies how much data is to be read.
Return Value
Returned Byte Array. Indicates how much data was read.
Remarks

Some environments, such as JavaScript, do not support the passing of parameters by reference. Consequently, such methods as Receive cannot be used by passing in a String. You can use the DartStream Object to circumvent this limitation (see the ReadString method Remarks section for a Java sample).

Error Codes

This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):

See Also

DartStream Object  | DartStream Members


PowerTCP Mail for ActiveX Documentation Version 2.13
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic