mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
encoding/base32: Convert files to UTF-8 with Unix line endings
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user