encoding/base32: Convert files to UTF-8 with Unix line endings

This commit is contained in:
Zoltán Kéri
2024-12-30 15:31:57 +01:00
parent 5ce6990077
commit 3d25128520
+2 -1
View File
@@ -114,7 +114,8 @@ decode :: proc(
data: string, data: string,
DEC_TBL := DEC_TABLE, DEC_TBL := DEC_TABLE,
validate: Validate_Proc = _validate_default, validate: Validate_Proc = _validate_default,
allocator := context.allocator) -> (out: []byte, err: Error) { allocator := context.allocator) -> (out: []byte, err: Error)
{
if len(data) == 0 { if len(data) == 0 {
return nil, .None return nil, .None
} }