added ByteBuffer and tests, which succeed
adding apply_test.go, which succeeds