Beispiel #1
0
        private byte[] AsByteArray()
        {
            _reader.Reset();

            return(_reader.ReadBytes((int)Math.Floor(_reader.GetBitsLeft() / 8.0)));
        }
Beispiel #2
0
        private byte[] AsByteArray()
        {
            _reader.Reset();

            return(_reader.ReadBytes((int)Math.Ceiling(_reader.GetBitsLeft() / 8.0)).ToArray());
        }