mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 17:47:56 +02:00
* fix from Sebastian Hellwig for writeunicodestring bytes number, mantis 0038963
git-svn-id: trunk@49478 -
This commit is contained in:
parent
04ebdf8df8
commit
c8be89c7fa
@ -1643,7 +1643,7 @@ Var
|
||||
begin
|
||||
B:=FEncoding.GetBytes(AString);
|
||||
if Length(B)>0 then
|
||||
WriteBuffer(B[0],Length(Bytes));
|
||||
WriteBuffer(B[0],Length(B));
|
||||
end;
|
||||
|
||||
function TStringStream.ReadAnsiString(Count: Longint): AnsiString;
|
||||
|
Loading…
Reference in New Issue
Block a user