Exemple #1
0
 /// <summary>
 /// Create a new JetArray from the given JetArray.
 /// </summary>
 public JetArray(JetArray buffer)
 {
     stream = new MemoryStream(buffer.ToBytes());
     Setup();
 }
Exemple #2
0
 /// <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));
 }
Exemple #3
0
 /// <summary>
 /// Writes a stream of bytes to the stream.
 /// </summary>
 public void WriteBytes(JetArray buffer)
 {
     WriteBytes(buffer.ToBytes());
 }