August 06, 2004 General » Re: Streams and encoding | |||
|---|---|---|---|
| |||
...function:
read_bad(void*,uint len)
read_good(ubyte[],uint len)
A exerpt from program... | |||
August 04, 2004 General » Re: Streams and encoding | |||
|---|---|---|---|
| |||
...to guanratee in read(void*,uint len) that len is not actually longer than the... | |||
August 04, 2004 General » Re: Streams and encoding | |||
|---|---|---|---|
| |||
...use void* you definately need len. I have always had len, my fn prototype is... | |||
August 04, 2004 General » Re: Streams and encoding | |||
|---|---|---|---|
| |||
...stop reading before you had off and len? I will do both at the same... | |||
August 03, 2004 General » Re: Streams and encoding | |||
|---|---|---|---|
| |||
...going to have to be GCed. The len and off parameters allow a caller to... | |||
August 03, 2004 General » Re: Streams and encoding | |||
|---|---|---|---|
| |||
...the form: ulong write(void* data, ulong len = 0, ulong off = 0); notice I have... | |||
August 03, 2004 General » Re: Streams and encoding | |||
|---|---|---|---|
| |||
...uint len = 0);
}
interface DataSource {
uint read( inout ubyte[] data, uint off = 0, uint len... | |||
July 29, 2004 General » Re: UTF-8 to dchar conversion | |||
|---|---|---|---|
| |||
...firstChar -= 0x80;
# uint len = LENGTH[firstChar];
# if (len != 0 && s.length >= len)
# {
# if (firstChar != 0xE0... | |||
July 28, 2004 General » Re: UTF-8 to dchar conversion | |||
|---|---|---|---|
| |||
...s)
and
s = s[len..s.length];
instead of
p = p[len..p.length];
(I... | |||
July 28, 2004 General » Re: UTF-8 to dchar conversion | |||
|---|---|---|---|
| |||
...s[0];
# uint len = LENGTH[firstChar];
# if (len != 0 && s.length >= len)
# {
# if (firstChar != 0xE0... | |||
Copyright © 1999-2021 by the D Language Foundation