BufferedBinaryEncoder Class

 
System_CAPS_noteNote

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 buffered binary encoder of Avro basic types.

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

System.Object
  Microsoft.Hadoop.Avro.BufferedBinaryEncoder

public sealed class BufferedBinaryEncoder : IEncoder, IDisposable

NameDescription
System_CAPS_pubmethodBufferedBinaryEncoder(Stream)

Initializes a new instance of the BufferedBinaryEncoder class.

System_CAPS_pubmethodBufferedBinaryEncoder(Stream, Boolean)

Initializes a new instance of the BufferedBinaryEncoder class.

NameDescription
System_CAPS_pubmethodDispose()

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

System_CAPS_pubmethodEncode(Boolean)

Encodes a boolean value.

System_CAPS_pubmethodEncode(Byte[])

Encodes a byte array as bytes Avro type.

System_CAPS_pubmethodEncode(Double)

Encodes a double value.

System_CAPS_pubmethodEncode(Int32)

Encodes an integer value.

System_CAPS_pubmethodEncode(Int64)

Encodes a long value.

System_CAPS_pubmethodEncode(Single)

Encodes a float value.

System_CAPS_pubmethodEncode(Stream)

Encodes a stream as bytes Avro type.

System_CAPS_pubmethodEncode(String)

Encodes a string value.

System_CAPS_pubmethodEncodeArrayChunk(Int32)

Encodes an array chunk of size.

System_CAPS_pubmethodEncodeFixed(Byte[])

Encodes a byte array as fixed Avro type.

System_CAPS_pubmethodEncodeMapChunk(Int32)

Encodes a map chunk of size.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodFlush()

Clears all buffers for this encoder and causes any buffered data to be written to the underlying stream/device.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: