/// <summary>
        ///
        /// </summary>
        public virtual void BeginObject()
        {
            ReadLeadingByte();

            if (LeadingByte.IsClassDefinition())
            {
                preamble = ObjectPreamble.ClassDefinition;
            }
            else if (LeadingByte.IsShortObjectReference() || LeadingByte.IsLongObjectReference())
            {
                preamble = ObjectPreamble.ObjectReference;
            }
            else if (LeadingByte.IsInstanceReference())
            {
                preamble = ObjectPreamble.InstanceReference;
            }
            else
            {
                throw new HessianSerializerException();
            }
        }
 /// <summary>
 ///
 /// </summary>
 public virtual void EndObject()
 {
     preamble = ObjectPreamble.None;
 }