Skip to content

Commit a04bd38

Browse files
committed
add comment
1 parent 1a7611e commit a04bd38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Smdn.Fundamental.PrintableEncoding.ModifiedBase64/Smdn.Formats.ModifiedBase64/ModifiedUTF7.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static string Decode(string str)
9797
continue;
9898
}
9999

100-
var nonPrintableChars = new byte[str.Length - index];
100+
var nonPrintableChars = new byte[str.Length - index]; // TODO: array pool
101101
var len = 0;
102102

103103
for (; index < str.Length; index++) {

src/Smdn.Fundamental.Stream.BinaryReaderWriter/Smdn.IO.Binary/BinaryWriterBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public void WriteZero(long count)
151151

152152
CheckDisposed();
153153

154-
var zeroes = new byte[Math.Min(count, 4096)];
154+
var zeroes = new byte[Math.Min(count, 4096)]; // TODO: array pool
155155

156156
for (; 0 < count; count -= zeroes.Length) {
157157
if (zeroes.Length < count)

src/Smdn.Fundamental.Uuid/Smdn/Uuid.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public static Uuid CreateNameBased(byte[] name, Uuid namespaceId, UuidVersion ve
264264
*
265265
* o Compute the hash of the name space ID concatenated with the name.
266266
*/
267-
var buffer = new byte[16 + name.Length];
267+
var buffer = new byte[16 + name.Length]; // TODO: array pool
268268

269269
namespaceId.GetBytes(buffer, 0, asBigEndian: true);
270270

0 commit comments

Comments
 (0)