/** * set the value from an InputStream * * @param stream the InputStream from which the value is to be * read * * @exception BufferUnderrunException if there is not enough data * available from the InputStream * @exception IOException if an IOException is thrown from reading * the InputStream */ public void readFromStream(final InputStream stream) throws IOException { _value = LittleEndian.readLong(stream); }
/** * set the value from an InputStream * * @param stream the InputStream from which the value is to be * read * * @exception BufferUnderrunException if there is not enough data * available from the InputStream * @exception IOException if an IOException is thrown from reading * the InputStream */ public void readFromStream(final InputStream stream) throws IOException, BufferUnderrunException { _value = LittleEndian.readLong(stream); }
/** * set the value from an InputStream * * @param stream the InputStream from which the value is to be * read * * @exception BufferUnderrunException if there is not enough data * available from the InputStream * @exception IOException if an IOException is thrown from reading * the InputStream */ public void readFromStream(final InputStream stream) throws IOException, BufferUnderrunException { _value = LittleEndian.readLong(stream); }
/** * set the value from an InputStream * * @param stream the InputStream from which the value is to be * read * * @exception BufferUnderrunException if there is not enough data * available from the InputStream * @exception IOException if an IOException is thrown from reading * the InputStream */ public void readFromStream(final InputStream stream) throws IOException { _value = LittleEndian.readLong(stream); }
@Override public void readValue(InputStream stream) throws IOException { // 8 bytes of reserved zeros LittleEndian.readLong(stream); // Now properties readProperties(stream); }
@Override protected void readProperties(InputStream stream) throws IOException { // 8 bytes of reserved zeros LittleEndian.readLong(stream); // Nexts and counts nextRecipientId = LittleEndian.readUInt(stream); nextAttachmentId = LittleEndian.readUInt(stream); recipientCount = LittleEndian.readUInt(stream); attachmentCount = LittleEndian.readUInt(stream); if (!isEmbedded) { // 8 bytes of reserved zeros (top level properties stream only) LittleEndian.readLong(stream); } // Now properties super.readProperties(stream); }