bsongen: []byte support