 
 ;; ---- NIO & Netty Buffer implementations
 
-(defn- set-current-bytebuffer-byteorder!
+(defn- set-current-bytebuffer-byte-order!
   [buff]
-  (case *byteorder*
+  (case *byte-order*
     :big-endian (.order buff ByteOrder/BIG_ENDIAN)
     :little-endian (.order buff ByteOrder/LITTLE_ENDIAN)))
 


     IBufferLong
     (read-long [buff pos]
       (if (= *byteorder* :little-endian)
         (.getLongLE buff pos)
         (.getLong buff pos)))
     (write-long [buff pos value]
       (if (= *byteorder* :little-endian)
         (.setLongLE buff pos value)
         (.setLong buff pos value)))
     (read-ulong [buff pos]

              io.netty.buffer.ByteBuf
              io.netty.buffer.ByteBufAllocator)))

(def ^:dynamic *byte-order*
  "Defines the default byte order used for the write and read
  operations on the byte buffers."
  :big-endian)
