﻿/* Copyright (c) 2019 ExT (V.Sigalkin) */

namespace extOSC.Core.Packers
{
    internal class OSCPackerFalse : OSCPacker<bool>
    {
        #region Public Methods

        public override OSCValueType GetPackerType()
        {
            return OSCValueType.False;
        }

        #endregion

        #region Protected Methods

        protected override bool BytesToValue(byte[] buffer, ref int index)
        {
            return false;
        }

        protected override void ValueToBytes(byte[] buffer, ref int index, bool value)
        { }

        #endregion
    }
}