Enum TagFormat
The tag format used by tagged fields with the Ice encoding.
public enum TagFormat
Fields
F1 = 0A fixed size numeric encoded on 1 byte such as bool or byte.
F2 = 1A fixed size numeric encoded on 2 bytes such as short.
F4 = 2A fixed size numeric encoded on 4 bytes such as int or float.
F8 = 3A fixed size numeric encoded on 8 bytes such as long or double.
Size = 4A variable-length size encoded on 1 or 5 bytes.
VSize = 5A variable-length size followed by size bytes.
FSize = 6A fixed length size (encoded on 4 bytes) followed by size bytes.
Class = 7Represents a class, but is no longer encoded or decoded.
OptimizedVSize = 8Pseudo non-encoded format: like VSize but the size is optimized out.
Remarks
With the Ice encoding, each tagged fields has a specific tag format. This tag format describes how the data is encoded and how it can be skipped by the decoding code if the tagged field is present in the buffer but is not known to the receiver. The tag format is encoded on 3 bits; as a result, only values in the range 0 to 7 are encoded.