…to the node instead of using the whole NodeBufferSize.
Replaced _padding0 in the Node struct with AmountWritten;
updated the Write functions to assign node->AmountWritten based on the amount written;
updated the Read functions to use node->AmountWritten in place of NodeBufferSize when figuring out how much data to return.
…to the node instead of using the whole NodeBufferSize.
Replaced _padding0 in the Node struct with AmountWritten; updated the Write functions to assign node->AmountWritten based on the amount written; updated the Read functions to use node->AmountWritten in place of NodeBufferSize when figuring out how much data to return.