コード例 #1
0
 public void Write(IEndianAwareWriter writer)
 {
     writer.PutInt(username.Length);
     writer.PutInt(password.Length);
     writer.PutStringAsUTF8(username);
     writer.PutStringAsUTF8(password);
 }
コード例 #2
0
 public void Write(IEndianAwareWriter outputStream)
 {
     outputStream.PutInt(JournalName.Length);
     outputStream.PutInt(Offset.BytesOffset);
     outputStream.PutInt(JournalSize.BytesOffset);
     outputStream.PutStringAsUTF8(JournalName);
 }
コード例 #3
0
 public void Write(IEndianAwareWriter writer)
 {
     writer.PutInt(JournalName.Length);
     writer.PutInt(TransactionUID.Id);
     writer.PutStringAsUTF8(JournalName);
 }