BinaryDecoder Class

 

Note

A newer version of HDInsight .NET SDK is available that uses the Azure Resource Manager (ARM) approach. You are encouraged to use the newer ARM-based version of HDInsight .NET SDK going forward. For instructions on how to use the new HDInsight .NET SDK to create a cluster, see Create HDInsight Linux clusters using .NET SDK. For instructions on how to submit jobs using the new .NET SDK and other approaches, see Submit jobs to an HDInsight cluster. The HDInsight SDK reference for the newer version is available at HDInsight .NET SDK Reference.

Represents a non-buffered binary decoder of Avro basic types.

Namespace:   Microsoft.Hadoop.Avro
Assembly:  Microsoft.Hadoop.Avro (in Microsoft.Hadoop.Avro.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Hadoop.Avro.BinaryDecoder

Syntax

public sealed class BinaryDecoder : IDecoder, ISkipper, IDisposable
public ref class BinaryDecoder sealed : IDecoder, ISkipper, IDisposable
[<Sealed>]
type BinaryDecoder = 
    class
        interface IDecoder
        interface ISkipper
        interface IDisposable
    end
Public NotInheritable Class BinaryDecoder
    Implements IDecoder, ISkipper, IDisposable

Constructors

Name Description
System_CAPS_pubmethod BinaryDecoder(Stream)

Initializes a new instance of the BinaryDecoder class.

System_CAPS_pubmethod BinaryDecoder(Stream, Boolean)

Initializes a new instance of the BinaryDecoder class.

Methods

Name Description
System_CAPS_pubmethod DecodeArrayChunk()

Decodes an array chunk.

System_CAPS_pubmethod DecodeBool()

Indicates a value whether the value is decoded.

System_CAPS_pubmethod DecodeByteArray()

Decodes a byte array.

System_CAPS_pubmethod DecodeDouble()

Decodes a double value.

System_CAPS_pubmethod DecodeFixed(Int32)

Decodes a fixed byte array.

System_CAPS_pubmethod DecodeFloat()

Decodes a float value.

System_CAPS_pubmethod DecodeInt()

Decodes an integer value.

System_CAPS_pubmethod DecodeLong()

Decodes a long value.

System_CAPS_pubmethod DecodeMapChunk()

Decodes a map chunk.

System_CAPS_pubmethod DecodeString()

Decodes a string value.

System_CAPS_pubmethod Dispose()

Releases the resources used by the current instance of the BinaryDecoder class.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SkipBool()

Skips a boolean value from the underlying stream.

System_CAPS_pubmethod SkipByteArray()

Skips a byte array from the underlying stream.

System_CAPS_pubmethod SkipDouble()

Skips a double value from the underlying stream.

System_CAPS_pubmethod SkipFixed(Int32)

Skips a fixed value from the underlying stream.

System_CAPS_pubmethod SkipFloat()

Skips a float value from the underlying stream.

System_CAPS_pubmethod SkipInt()

Skips an integer value from the underlying stream.

System_CAPS_pubmethod SkipLong()

Skips a long value from the underlying stream.

System_CAPS_pubmethod SkipString()

Skips a string value from the underlying stream.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Hadoop.Avro Namespace

Return to top