public static OperationRecord Get(string volume) { // Get Page Bytes byte[]pageBytes = getBytes(volume); // Get Page Header PageHeader pageHeader = new PageHeader(NativeMethods.GetSubArray(pageBytes, 0x00, 0x40)); return new OperationRecord(NativeMethods.GetSubArray(pageBytes, 0x40, 0x58)); /*return pageHeader; for(int i = 0x40; i < (pageBytes.Length - (0x40 + 0x58)); i += 0x58) { new }*/ }
public static OperationRecord Get(string volume) { // Get Page Bytes byte[] pageBytes = getBytes(volume); // Get Page Header PageHeader pageHeader = new PageHeader(NativeMethods.GetSubArray(pageBytes, 0x00, 0x40)); return(new OperationRecord(NativeMethods.GetSubArray(pageBytes, 0x40, 0x58))); /*return pageHeader; * * for(int i = 0x40; i < (pageBytes.Length - (0x40 + 0x58)); i += 0x58) * { * new * }*/ }