lint fix
build with the SDK v19
allow using raw bytes instead of an input stream