core: add pointer method to get emitted byte length. fills a void left by removal of finalize callback.