Send feedback on this topic.
Teradata.Client.Provider
ReadByte Method



Teradata.Client.Provider Namespace > TdBlob Class : ReadByte Method
Returns the next byte and advances the current position of the TdStream by 1 byte.
Syntax
'Declaration
 
Public Function ReadByte() As Byte
'Usage
 
Dim instance As TdBlob
Dim value As Byte
 
value = instance.ReadByte()
public byte ReadByte()
public:
byte ReadByte(); 

Return Value

Returns the next byte of the BLOB.
Exceptions
ExceptionDescription
The end of TdStream is reached.
The TdBlob is null, or the TdConnection is closed.
The TdBlob or the TdStream is closed / disposed.
The Advanced SQL Engine returned an error, or the .NET Data Provider for Teradata detected an error.
Remarks
The .NET Data Provider for Teradata reads the BLOB field from the Advanced SQL Engine and advances the current position of the TdStream by 1 byte.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdBlob Class
TdBlob Members