Yes. StandardRecord.getDataSize() returns the size of the record body and is what you need.
Yegor On Wed, Jan 18, 2012 at 12:20 AM, Niklas Rehfeld <[email protected]> wrote: > On 17 January 2012 19:57, Yegor Kozlov <[email protected]> wrote: >> StandardRecord.serialize(LittleEndianOut) should write only record >> body, i.e. the number of bytes written must equal the record size >> reported by Record#getRecordSize() minus four. > > Hi Yegor, > > Thanks for the clarification. > > Is this the same length that StandardRecord.getDataSize() should return? > > Nik > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
