예제 #1
0
        public int ReceiveExtend(int t, ref InputProcessor inputProcessor)
        {
            OrigDecoderErrorCode errorCode = this.ReceiveExtendUnsafe(t, ref inputProcessor, out int x);

            errorCode.EnsureNoError();
            return(x);
        }
예제 #2
0
        public byte ReadByte(Stream inputStream)
        {
            OrigDecoderErrorCode errorCode = this.ReadByteUnsafe(inputStream, out byte result);

            errorCode.EnsureNoError();
            return(result);
        }
예제 #3
0
        public void EnsureNBits(int n, ref InputProcessor inputProcessor)
        {
            OrigDecoderErrorCode errorCode = this.EnsureNBitsUnsafe(n, ref inputProcessor);

            errorCode.EnsureNoError();
        }
예제 #4
0
        public void Fill(Stream inputStream)
        {
            OrigDecoderErrorCode errorCode = this.FillUnsafe(inputStream);

            errorCode.EnsureNoError();
        }