public void WriteAsetHeader(ref BrgAsetHeader header)
 {
     this.Write(header.magic);
     this.Write(header.numFrames);
     this.Write(header.frameStep);
     this.Write(header.animTime);
     this.Write(header.frequency);
     this.Write(header.spf);
     this.Write(header.fps);
     this.Write(header.space);
 }
 public void ReadAsetHeader(ref BrgAsetHeader header)
 {
     header.magic     = this.ReadInt32();
     header.numFrames = this.ReadInt32();
     header.frameStep = this.ReadSingle();
     header.animTime  = this.ReadSingle();
     header.frequency = this.ReadSingle();
     header.spf       = this.ReadSingle();
     header.fps       = this.ReadSingle();
     header.space     = this.ReadInt32();
 }