public IData Deserialize(byte[] bytes, int offset, int count) { Debug.Assert(count >= 4); DLength result = new DLength(); result.m_length = BitConverter.ToInt32(bytes, offset); return result; }
public IData Deserialize(byte[] bytes, int offset, int count) { Debug.Assert(count >= 4); DLength result = new DLength(); result.m_length = BitConverter.ToInt32(bytes, offset); return(result); }
public IKey Deserialize(byte[] bytes, int offset, int count) { KOffset result = new KOffset(); result.m_offset = OOD.Utility.Bytes.Unpack4U(bytes, offset); DLength dFactory = new DLength(); if (count > 4) { result.m_length = (DLength)dFactory.Deserialize(bytes, offset + 4, count - 4); } return(result); }
public IKey Deserialize(byte[] bytes, int offset, int count) { KOffset result = new KOffset(); result.m_offset = OOD.Utility.Bytes.Unpack4U(bytes, offset); DLength dFactory = new DLength(); if (count > 4) { result.m_length = (DLength)dFactory.Deserialize(bytes, offset + 4, count - 4); } return result; }
public KOffset(uint offset, DLength length) { m_length = length; }