Fixing an issue where I passed the wrong value in, causing an error with long buffers

pull/288/head
Ayende Rahien 15 years ago
parent 162b656fdd
commit 4d2582081d
  1. 2
      src/ProtocolBuffers/CodedInputStream.cs

@ -863,7 +863,7 @@ namespace Google.ProtocolBuffers {
}
// Done.
return new ByteBuffer(buffer, 0, size);
return new ByteBuffer(bytes, 0, size);
}
}

Loading…
Cancel
Save