mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-09-01 16:08:17 +00:00
modifications for v2.5
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user