public void Write(IEndianAwareWriter writer) { writer.PutInt(username.Length); writer.PutInt(password.Length); writer.PutStringAsUTF8(username); writer.PutStringAsUTF8(password); }
public void Write(IEndianAwareWriter outputStream) { outputStream.PutInt(JournalName.Length); outputStream.PutInt(Offset.BytesOffset); outputStream.PutInt(JournalSize.BytesOffset); outputStream.PutStringAsUTF8(JournalName); }
public void Write(IEndianAwareWriter writer) { writer.PutInt(JournalName.Length); writer.PutInt(TransactionUID.Id); writer.PutStringAsUTF8(JournalName); }