# GH_LooseChunk class

Namespace: [GH_IO.Serialization](https://developer.rhino3d.com/api/gh1/namespace/gh-io.serialization.md) · Assembly: [GH_IO](https://developer.rhino3d.com/api/gh1/assembly/gh-io.md)

```cs
public class GH_LooseChunk : GH_Chunk
```

A utility class for creating partial archives.

## Constructors

- [GH_LooseChunk](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-loosechunk/ctor.md): (2 overloads) Create a new loose chunk. A loose chunk does not have an owner archive and thus cannot store runtime messages.

## Methods

- [Deserialize_Binary](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-loosechunk/deserialize-binary.md): Deserializes a byte array.
- [Deserialize_Xml](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-loosechunk/deserialize-xml.md): Deserializes an Xml string.
- [Serialize_Binary](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-loosechunk/serialize-binary.md): Serializes the data tree into a byte array.
- [Serialize_Xml](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-loosechunk/serialize-xml.md): Serializes the data tree into an Xml string.

## Inherited Members

- From [GH_Chunk](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk.md): [m_archive](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/m-archive.md), [m_chunks](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/m-chunks.md), [m_comments](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/m-comments.md), [m_index](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/m-index.md), [m_items](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/m-items.md), [m_name](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/m-name.md), [Archive](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/archive.md), [ArchiveLocation](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/archivelocation.md), [ChunkCount](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/chunkcount.md), [Chunks](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/chunks.md), [HasComments](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/hascomments.md), [HasIndex](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/hasindex.md), [HasName](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/hasname.md), [Index](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/index.md), [ItemCount](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/itemcount.md), [Items](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/items.md), [Name](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/name.md), [AddComment](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/addcomment.md), [AddMessage](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/addmessage.md), [ChunkExists](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/chunkexists.md), [CopyValuesFromChunk](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/copyvaluesfromchunk.md), [CopyValuesToChunk](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/copyvaluestochunk.md), [CreateChunk](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/createchunk.md), [FindChunk](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/findchunk.md), [FindItem](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/finditem.md), [GetBoolean](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getboolean.md), [GetBoundingBox](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getboundingbox.md), [GetByte](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getbyte.md), [GetByteArray](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getbytearray.md), [GetDate](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdate.md), [GetDecimal](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdecimal.md), [GetDouble](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdouble.md), [GetDoubleArray](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdoublearray.md), [GetDrawingBitmap](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdrawingbitmap.md), [GetDrawingColor](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdrawingcolor.md), [GetDrawingPoint](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdrawingpoint.md), [GetDrawingPointF](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdrawingpointf.md), [GetDrawingRectangle](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdrawingrectangle.md), [GetDrawingRectangleF](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdrawingrectanglef.md), [GetDrawingSize](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdrawingsize.md), [GetDrawingSizeF](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getdrawingsizef.md), [GetGuid](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getguid.md), [GetInt32](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getint32.md), [GetInt64](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getint64.md), [GetInterval1D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getinterval1d.md), [GetInterval2D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getinterval2d.md), [GetLine](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getline.md), [GetPath](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getpath.md), [GetPlane](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getplane.md), [GetPoint2D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getpoint2d.md), [GetPoint3D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getpoint3d.md), [GetPoint4D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getpoint4d.md), [GetSingle](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getsingle.md), [GetString](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getstring.md), [GetVersion](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/getversion.md), [ItemExists](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/itemexists.md), [Read](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/read.md), [RemoveChunk](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/removechunk.md), [RemoveItem](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/removeitem.md), [SetBoolean](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setboolean.md), [SetBoundingBox](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setboundingbox.md), [SetByte](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setbyte.md), [SetByteArray](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setbytearray.md), [SetDate](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdate.md), [SetDecimal](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdecimal.md), [SetDouble](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdouble.md), [SetDoubleArray](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdoublearray.md), [SetDrawingBitmap](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdrawingbitmap.md), [SetDrawingColor](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdrawingcolor.md), [SetDrawingPoint](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdrawingpoint.md), [SetDrawingPointF](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdrawingpointf.md), [SetDrawingRectangle](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdrawingrectangle.md), [SetDrawingRectangleF](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdrawingrectanglef.md), [SetDrawingSize](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdrawingsize.md), [SetDrawingSizeF](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setdrawingsizef.md), [SetGuid](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setguid.md), [SetInt32](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setint32.md), [SetInt64](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setint64.md), [SetInterval1D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setinterval1d.md), [SetInterval2D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setinterval2d.md), [SetLine](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setline.md), [SetPath](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setpath.md), [SetPlane](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setplane.md), [SetPoint2D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setpoint2d.md), [SetPoint3D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setpoint3d.md), [SetPoint4D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setpoint4d.md), [SetSingle](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setsingle.md), [SetString](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setstring.md), [SetVersion](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/setversion.md), [TryGetBoolean](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetboolean.md), [TryGetBoundingBox](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetboundingbox.md), [TryGetByte](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetbyte.md), [TryGetDate](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdate.md), [TryGetDecimal](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdecimal.md), [TryGetDouble](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdouble.md), [TryGetDrawingColor](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdrawingcolor.md), [TryGetDrawingPoint](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdrawingpoint.md), [TryGetDrawingPointF](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdrawingpointf.md), [TryGetDrawingRectangle](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdrawingrectangle.md), [TryGetDrawingRectangleF](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdrawingrectanglef.md), [TryGetDrawingSize](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdrawingsize.md), [TryGetDrawingSizeF](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetdrawingsizef.md), [TryGetGuid](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetguid.md), [TryGetInt32](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetint32.md), [TryGetInt64](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetint64.md), [TryGetInterval1D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetinterval1d.md), [TryGetInterval2D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetinterval2d.md), [TryGetLine](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetline.md), [TryGetPlane](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetplane.md), [TryGetPoint2D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetpoint2d.md), [TryGetPoint3D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetpoint3d.md), [TryGetPoint4D](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetpoint4d.md), [TryGetSingle](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetsingle.md), [TryGetString](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetstring.md), [TryGetVersion](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/trygetversion.md), [Write](https://developer.rhino3d.com/api/gh1/type/gh-io.serialization.gh-chunk/write.md)
