ByteArray/Buffer extensions / fixes
fix method name