コード例 #1
0
ファイル: JetArray.cs プロジェクト: jetsons/JetPack.Net
 /// <summary>
 /// Create a new JetArray from the given JetArray.
 /// </summary>
 public JetArray(JetArray buffer)
 {
     stream = new MemoryStream(buffer.ToBytes());
     Setup();
 }
コード例 #2
0
ファイル: JetArray.cs プロジェクト: jetsons/JetPack.Net
 /// <summary>
 /// Append a JetArray to the end of the stream, returning a new JetArray object
 /// </summary>
 public JetArray Append(JetArray add, bool posToEnd)
 {
     return(Append(add.ToBytes(), posToEnd));
 }
コード例 #3
0
ファイル: JetArray.cs プロジェクト: jetsons/JetPack.Net
 /// <summary>
 /// Writes a stream of bytes to the stream.
 /// </summary>
 public void WriteBytes(JetArray buffer)
 {
     WriteBytes(buffer.ToBytes());
 }