public static HydraShdr Load(IReadable reader) { var shdr = new HydraShdr(); shdr.SampleName = reader.Read8BitStringLength(20); shdr.Start = reader.ReadUInt32LE(); shdr.End = reader.ReadUInt32LE(); shdr.StartLoop = reader.ReadUInt32LE(); shdr.EndLoop = reader.ReadUInt32LE(); shdr.SampleRate = reader.ReadUInt32LE(); shdr.OriginalPitch = (byte)reader.ReadByte(); shdr.PitchCorrection = reader.ReadSignedByte(); shdr.SampleLink = reader.ReadUInt16LE(); shdr.SampleType = reader.ReadUInt16LE(); return(shdr); }