public override void Load(BinaryReader R)
{
this.N = R.ReadInt32 ();
this.M = R.ReadInt32 ();
this.B = R.ReadInt16 ();
int num_samples = this.M / this.B;
this.Samples = new List<int>( num_samples );
this.Offsets = new List<long>( num_samples );
PrimitiveIO<int>.LoadVector (R, num_samples, this.Samples);
PrimitiveIO<long>.LoadVector (R, num_samples, this.Offsets);
// Console.WriteLine ("xxxxxx load samples.count {0}. N: {1}, M: {2}, B: {3}", this.Samples.Count, this.N, this.M, this.B);
this.Coder = IEncoder32GenericIO.Load (R);
this.Stream = new BitStream32 ();
this.Stream.Load (R);
}