read_bitstr() публичный Метод

public read_bitstr ( int &pad_bits ) : byte[]
pad_bits int
Результат byte[]
Пример #1
0
        /**
         * Create a bitstr from a stream containing a bitstr encoded in Erlang
         * external format.
         * 
         * @param buf
         *                the stream containing the encoded bitstr.
         * 
         * @exception OtpErlangDecodeException
         *                    if the buffer does not contain a valid external
         *                    representation of an Erlang bitstr.
         */
        public OtpErlangBitstr(OtpInputStream buf)
        {
            bin = buf.read_bitstr(out pad_bits);

            check_bitstr(bin, pad_bits);
        }
Пример #2
0
        /**
         * Create a bitstr from a stream containing a bitstr encoded in Erlang
         * external format.
         *
         * @param buf
         *                the stream containing the encoded bitstr.
         *
         * @exception OtpErlangDecodeException
         *                    if the buffer does not contain a valid external
         *                    representation of an Erlang bitstr.
         */
        public OtpErlangBitstr(OtpInputStream buf)
        {
            bin = buf.read_bitstr(out pad_bits);

            check_bitstr(bin, pad_bits);
        }