Package org.exist.util

Examples of org.exist.util.FastByteBuffer


   
    private static final Logger LOG = Logger.getLogger(VariableByteArrayInput.class);
   
    public VariableByteOutputStream() {
        super();
        buf = new FastByteBuffer(9);
    }
View Full Code Here


        buf = new FastByteBuffer(9);
    }

    public VariableByteOutputStream(int size) {
        super();
        buf = new FastByteBuffer(size);
    }
View Full Code Here

        buf = new FastByteBuffer(size);
    }

    public void clear() {
        if (buf.size() > MAX_BUFFER_SIZE)
            {buf = new FastByteBuffer(9);}
        else
            {buf.setLength(0);}
    }
View Full Code Here

TOP

Related Classes of org.exist.util.FastByteBuffer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.