# Copyright (c) 2023 Yuki Kimoto
# MIT License
class Net::SSLeay::ERR {
# Instance Methods
native static method error_string_n : void ($e : long, $buf : mutable string, $len : int = -1);
# Safety emulation
static method error_string : string ($e : long) {
my $buf = (mutable string)new_string_len 256;
&error_string_n($e, $buf, length $buf);
return $buf;
}
}