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