19 using System.Collections.Generic;
30 protected readonly
byte[]
value;
60 this.value =
new byte[schema.
Size];
67 this.value =
new byte[size];
72 get {
return this.
value; }
75 if (value.Length ==
this.value.Length)
84 public override bool Equals(
object obj)
86 if (
this == obj)
return true;
92 for (
int i = 0; i <
value.Length; i++)
if (this.value[i] != that.
value[i])
return false;
102 foreach (
byte b
in value)
override bool Equals(object obj)
Compares two fixed schemas
override int GetHashCode()
Hash code function
Base class for all schema types
GenericFixed(FixedSchema schema)
int Size
Fixed size for the bytes
GenericFixed(FixedSchema schema, byte[] value)
override int GetHashCode()
override bool Equals(object obj)
The default type used by GenericReader and GenericWriter for objects for FixedSchema