read_bitstr() public method

public read_bitstr ( int &pad_bits ) : byte[]
pad_bits int
return byte[]
        /**
         * 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);
        }