Skip to content

Instantly share code, notes, and snippets.

@jnwelzel jnwelzel/Kb.java
Created Feb 27, 2014

Embed
What would you like to do?
wow
// 2MB
if (picture.length > 2 * 1024 * 1024) {
throw new FDNFileTooLargeException("2MB.");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.