FastInfoset.NET Class Reference for .NET
ReadContentAsBinHex Method (XmlFastInfosetReader)






The buffer into which to copy the resulting bytes. This value cannot be a null reference (Nothing in Visual Basic).
The offset into the buffer where to start copying the result.
The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned by this method
Reads the binary or BinHex encoded content at the current position and returns the decoded binary bytes.
Syntax
'Declaration
 
Public Overrides NotOverridable Function ReadContentAsBinHex( _
   ByVal buffer() As System.Byte, _
   ByVal index As System.Integer, _
   ByVal count As System.Integer _
) As System.Integer
'Usage
 
Dim instance As XmlFastInfosetReader
Dim buffer() As System.Byte
Dim index As System.Integer
Dim count As System.Integer
Dim value As System.Integer
 
value = instance.ReadContentAsBinHex(buffer, index, count)
public override System.int ReadContentAsBinHex( 
   System.byte[] buffer,
   System.int index,
   System.int count
)
public function ReadContentAsBinHex( 
    buffer: System.Bytearray of;
    index: System.Integer;
    count: System.Integer
): System.Integer; override; 
public override function ReadContentAsBinHex( 
   buffer : System.byte[],
   index : System.int,
   count : System.int
) : System.int;
public: System.int ReadContentAsBinHex( 
   System.byte[]* buffer,
   System.int index,
   System.int count
) override 
public:
System.int ReadContentAsBinHex( 
   System.array<byte>^ buffer,
   System.int index,
   System.int count
) override 

Parameters

buffer
The buffer into which to copy the resulting bytes. This value cannot be a null reference (Nothing in Visual Basic).
index
The offset into the buffer where to start copying the result.
count
The maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned by this method

Return Value

The number of bytes written to the buffer.
Remarks

If the content is binary encoded BinHex bytes, the reader returns the bytes read. If the content is text, the reader performs BinHex decoding and returns the decoded bytes.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlFastInfosetReader Class
XmlFastInfosetReader Members
Base Implementation in ReadContentAsBinHex

Send Feedback