Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Build Status Coverage Status org.hammerlab:bytes_* on Maven Central

Shorthands, syntaxes, and parsers for working with byte amounts.

import hammerlab.bytes._

val size1 = 16 MB
val size2 = Bytes("32m")

size1 < size2  // true
size1.bytes    // 16777216

See Bytes.scala and BytesTest.scala for more info.

You can’t perform that action at this time.