Created
August 17, 2012 11:12
-
-
Save andresrc/3378043 to your computer and use it in GitHub Desktop.
Bocas Value (basic operations)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BocasValue implements InputSupplier<InputStream> { | |
/** Returns the payload size in bytes (if known). */ | |
public Integer getSize(); | |
/** Copies and returns the internal data. */ | |
public byte[] toByteArray() throws IOException; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment