Table of Contents

Struct EncodingVersion

Namespace
Ice
Assembly
Ice.dll

Represents a version of the Slice encoding. Ice supports version 1.0 and 1.1 of this encoding.

public record struct EncodingVersion : IEquatable<EncodingVersion>
Implements
Inherited Members

Remarks

The Slice encoding is also known as the Ice encoding.

<p></p>

The Slice compiler generated this record struct from Slice struct <code>::Ice::EncodingVersion</code>.

Constructors

EncodingVersion(InputStream)

Initializes a new instance of the EncodingVersion struct from an input stream.

public EncodingVersion(InputStream istr)

Parameters

istr InputStream

EncodingVersion(byte, byte)

Initializes a new instance of the EncodingVersion struct.

public EncodingVersion(byte major, byte minor)

Parameters

major byte
minor byte

Fields

major

The major version of the Slice encoding.

public byte major

Field Value

byte

minor

The minor version of the Slice encoding.

public byte minor

Field Value

byte

Methods

ice_read(InputStream)

Unmarshals a value from an input stream.

public static EncodingVersion ice_read(InputStream istr)

Parameters

istr InputStream

The input stream.

Returns

EncodingVersion

The unmarshaled value.

ice_write(OutputStream, EncodingVersion)

Marshals a value into an output stream.

public static void ice_write(OutputStream ostr, EncodingVersion v)

Parameters

ostr OutputStream

The output stream.

v EncodingVersion

The value to marshal.