public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) {int bytesAfterHeader = readHeader( data, offset );int pos = offset + HEADER_SIZE;System.arraycopy( data, pos, field_1_UID, 0, 16 ); pos += 16;field_2_marker = data[pos]; pos++;setPictureData(data, pos, bytesAfterHeader - 17);return bytesAfterHeader + HEADER_SIZE;}
public override int FillFields(byte[] data, int offset, IEscherRecordFactory recordFactory){int bytesAfterHeader = ReadHeader(data, offset);int pos = offset + HEADER_SIZE;field_1_UID = new byte[16];Array.Copy(data, pos, field_1_UID, 0, 16); pos += 16;field_2_marker = data[pos]; pos++;field_pictureData = new byte[bytesAfterHeader - 17];Array.Copy(data, pos, field_pictureData, 0, field_pictureData.Length);return bytesAfterHeader + HEADER_SIZE;}