public void PieceDecoding()
        {
            PieceMessage message = new PieceMessage(15, 10, Constants.BlockSize);

            message.SetData(new MemoryPool().Rent(Constants.BlockSize));
            EncodeDecode(message);
        }
        public void PieceEncoding()
        {
            PieceMessage message = new PieceMessage(15, 10, Constants.BlockSize);

            message.SetData(new MemoryPool().Rent(Constants.BlockSize));
            message.Encode(buffer.AsSpan(offset, message.ByteLength));
        }