Skip to content

Commit 0357b3d

Browse files
authored
Merge pull request #1 from gdis/fix-unpack
fixed unpack format string used in decode
2 parents 719d528 + e64ba6f commit 0357b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Protocol.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function encoder(int $protocolVersion): callable
5858
function decode(string $binaryString): Either
5959
{
6060
$packedFormat = \sprintf(
61-
'C%s/N%s/A*%s',
61+
'C%s/N%s/a*%s',
6262
PROTOCOL_ACCESSOR_VERSION,
6363
PROTOCOL_ACCESSOR_SCHEMA_ID,
6464
PROTOCOL_ACCESSOR_AVRO

0 commit comments

Comments
 (0)