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 Teradata Database 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 Teradata Database and advances the current position of the TdStream by 1 byte.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdBlob Class
TdBlob Members