modifications for v2.5

This commit is contained in:
Richard Geldreich
2026-07-01 13:16:04 -04:00
parent e5aa8306f3
commit afb3d4aef2
7 changed files with 58 additions and 9 deletions

View File

@@ -101,6 +101,7 @@ class Encoder:
params = enc.new_params()
buf_ptr = None
try:
buf_ptr = enc.alloc(len(bytes_data))
@@ -137,6 +138,7 @@ class Encoder:
params = enc.new_params()
buf_ptr = None
try:
buf_ptr = enc.alloc(len(bytes_data))
enc.write_bytes(buf_ptr, bytes_data)