protected override void EncodeImpl(sul.Utils.Buffer _buffer) { _buffer.WriteBool(hasPosition); if (hasPosition == true) { _buffer.WriteBigEndianUlong(position); } }