public override void ReadByte(byte[] data)
        {
            GCHandle handle = GCHandle.Alloc(data, GCHandleType.Pinned);

            pvd = (_PrimaryVolumeDescriptor)Marshal.PtrToStructure(handle.AddrOfPinnedObject(), typeof(_PrimaryVolumeDescriptor));
            handle.Free();
        }
 public PrimaryVolumeDescriptor()
 {
     pvd = new _PrimaryVolumeDescriptor();
 }
 public void ReadByte(byte[] data)
 {
     GCHandle handle = GCHandle.Alloc(data,GCHandleType.Pinned);
     pvd = (_PrimaryVolumeDescriptor)Marshal.PtrToStructure(handle.AddrOfPinnedObject(),typeof(_PrimaryVolumeDescriptor));
     handle.Free();
 }
 public PrimaryVolumeDescriptor()
 {
     pvd = new _PrimaryVolumeDescriptor();
 }