gingerBill
2561427dd3
Add string16 and cstring16 (UTF-16 based strings)
2025-08-02 11:00:15 +01:00
Feoramund
b7de15caa3
Clarify strconv.append_* to strconv.write_*
2025-06-05 16:56:00 -04:00
blob1807
f07a6f463c
Fix io.write_escaped_rune not writing full value
2024-12-22 23:10:42 +10:00
IllusionMan1212
8906ffb39c
core/io: correctly escape runes greater than 0xFFFF
2024-10-26 01:25:12 +02:00
Feoramund
f453054aff
Return 0, nil in all io cases where an empty slice is provided
2024-08-28 19:53:20 +02:00
Feoramund
d66486c17e
Make io.Section_Reader set base too
...
This should fix seeking from `.Start`, getting the `size`, and
`read_at`.
Also make the API consistent with the other `*_init` procs in
`util.odin` by returning the `io.Reader`.
2024-08-28 19:53:20 +02:00
Karl Zylinski
39c85cafa2
Fix for crash when using io.write_u128/io.write_i128 due to buffer being too small
2023-09-22 08:26:41 +02:00
gingerBill
3f6775e29b
Update to new io interface
2023-06-08 16:35:24 +01:00
Laytan Laats
5d54b710e7
fix #2550 json encoding should use surrogate pairs per RFC7159
2023-05-22 17:22:33 +02:00
gingerBill
c90b7c38f1
Rename strings.Builder procedures to be consistent with the rest of the core library
2022-07-11 11:50:08 +01:00
gingerBill
b1ea291942
Fix typos
2021-10-02 01:13:28 +01:00
gingerBill
c6ff88e85a
Add io.write_f16 io.write_f32 io.write_f64
2021-09-29 16:39:02 +01:00
gingerBill
8e2a0be804
Add an extra optional ^int parameter to most io read/write calls allowing for simplified or_return use with incrementing byte usage
2021-09-29 13:59:47 +01:00
gingerBill
057310472e
Add io.write_i128 and io.writer_u128
2021-09-29 13:21:49 +01:00
gingerBill
b3f2263442
Add io.write_quoted_* utility procedures to package io
2021-09-29 13:04:59 +01:00
gingerBill
251da264ed
Remove unneeded semicolons from the core library
2021-08-31 22:21:13 +01:00
gingerBill
d99ed692ba
Add utility procedures: io.read_ptr; io.write_ptr; io.read_ptr_at; io.write_ptr_at
2021-08-09 12:33:21 +01:00
gingerBill
b727b6438b
Minimize unneeded casts
2021-03-03 14:31:17 +00:00
gingerBill
f6e2d74d10
Keep -vet happy
2020-12-14 14:36:45 +00:00
gingerBill
aa2562fe7c
Replace procedure call
2020-12-14 14:33:32 +00:00
gingerBill
c17d17a9b4
Remove unused procedure
2020-12-14 14:32:34 +00:00
gingerBill
404c9e40ee
Update io/util.odin
2020-12-14 14:31:18 +00:00
gingerBill
0ef02e6737
Improve packages io and strings; add io.Section_Reader
2020-12-03 15:57:46 +00:00
gingerBill
6e04b1c429
Remove using stream on custom stream types in package io
2020-12-03 13:23:36 +00:00
gingerBill
18da0b3418
Integrate package io into core library
2020-12-03 10:45:26 +00:00
gingerBill
334a8c46e8
Fix io typos
2020-12-03 00:27:21 +00:00
gingerBill
c4172e3914
Rename stream field names
2020-12-02 23:17:21 +00:00
gingerBill
d9343ae997
Add package io
2020-12-02 23:12:14 +00:00