public FixupLeUInt16 ( uint imageOffset, ushort delta ) : ushort | ||
imageOffset | uint | |
delta | ushort | |
return | ushort |
public void UShortFixup() { var bytes = new byte[] { 0x01, 0x02, 0x03 }; var img = new MemoryArea(Address.SegPtr(0x0C00, 0), bytes); ushort newSeg = img.FixupLeUInt16(1, 0x4444); Assert.AreEqual(0x4746, newSeg); }