SensorShare.AnnotationBase.GetBytes C# (CSharp) Method

GetBytes() public method

Returns the annotation data as an array of bytes
public GetBytes ( ) : byte[]
return byte[]
        public virtual byte[] GetBytes()
        {
            MemoryStream ms = WriteBaseData();
             byte[] data = new byte[ms.Length];
             data = ms.ToArray();
             ms.Close();
             return data;
        }