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
istrInputStream
EncodingVersion(byte, byte)
Initializes a new instance of the EncodingVersion struct.
public EncodingVersion(byte major, byte minor)
Parameters
Fields
major
The major version of the Slice encoding.
public byte major
Field Value
minor
The minor version of the Slice encoding.
public byte minor
Field Value
Methods
ice_read(InputStream)
Unmarshals a value from an input stream.
public static EncodingVersion ice_read(InputStream istr)
Parameters
istrInputStreamThe 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
ostrOutputStreamThe output stream.
vEncodingVersionThe value to marshal.