Buffers are allocated using a static method in Java, so (ByteBuffer/allocate 42) returns a byte buffer with space for 42 bytes of data. Buffers can be used in read/write operations with FileChannel.
I suggest that you study the javadoc for (java.nio.channels FileChannel) and (java.nio ByteBuffer) before trying to use a library like buffy. I make good use of ByteBuffer and FileChannel in the durable applications for aatree, though I do not use buffy: https://github.com/laforge49/aatree Bill -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
