| SoByteStream Class |
Converts scene graph objects to character byte streams.
Namespace: OIV.Inventor.Misc
The SoByteStream type exposes the following members.
| Name | Description | |
|---|---|---|
| SoByteStream | Constructor. |
| Name | Description | |
|---|---|---|
| Convert(SoNode) | Calls Convert(node, true). | |
| Convert(SoPath) | Calls Convert(path, true). | |
| Convert(SoPathList) | Calls Convert(pathList, true). | |
| Convert(SoNode, Boolean) | Converts the passed scene graph object(s) into a byte stream. | |
| Convert(SoPath, Boolean) | Converts the passed scene graph object(s) into a byte stream. | |
| Convert(SoPathList, Boolean) | Converts the passed scene graph object(s) into a byte stream. | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetData | Returns the data from the last OIV.Inventor.Misc.SoByteStream.Convert(OIV.Inventor.Nodes.SoNode, System.Boolean) operation. | |
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetNumBytes | Returns the number of bytes from the last OIV.Inventor.Misc.SoByteStream.Convert(OIV.Inventor.Nodes.SoNode, System.Boolean) operation. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsRawData | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Unconvert(SbNativeArrayByte) | ||
| Unconvert(SoByteStream) | Takes byte stream data and unconverts it back to scene graph objects. |
This class creates a byte stream representation of a scene graph, using an OIV.Inventor.Actions.SoWriteAction to write path lists to an in-memory buffer. Byte streams are commonly used to transfer data in copy and paste operations. (The OIV.Inventor.Win.SoWinClipboard class passes OIV.Inventor.Misc.SoByteStream data during copy and paste.)