1
0
Fork 0
mirror of https://github.com/shufflingpixels/php-io.git synced 2026-08-15 11:48:13 +02:00
Commit graph

7 commits

Author SHA1 Message Date
2ea813589a Rename FileMode::writeable to writable 2026-06-26 13:52:37 +02:00
4bf5d8084e Add BinaryWriter 2026-06-26 13:26:17 +02:00
785e48a023 Remove BinaryReader stream and string helpers
BinaryReader does not own the stream object. so we should not have a
method that creates one (string) also remove stream() as its the same as
the constructor.
2026-06-26 13:25:40 +02:00
0fa93d691c Add BinaryReader::readPaddedString 2026-06-26 09:46:08 +02:00
f669183060 Add LimitedResource for scoped stream windows
Wraps any seekable StreamInterface and exposes a fixed byte range
(start offset + length) as an independent stream. Useful for passing
a subsection of a resource to BinaryReader without copying bytes.
2026-06-26 09:35:56 +02:00
89525294de stream: adopt PSR-7 StreamInterface 2026-05-23 21:58:20 +02:00
c677cfccd4 Initial commit 2026-04-22 07:15:24 +02:00