Skip to content

Commit 0773780

Browse files
committed
make improvements of the debug view
1 parent 59bd250 commit 0773780

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Data/BinaryData/BinaryData/BufferRegion.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Public Class BufferRegion
100100
End Sub
101101

102102
Public Overrides Function ToString() As String
103-
Return $"&{StringFormats.Lanudry(position)} [{StringFormats.Lanudry(size)} bytes]"
103+
Return $"&{StringFormats.Lanudry(position)} [{StringFormats.Lanudry(size)}]"
104104
End Function
105105

106106
End Class

Microsoft.VisualBasic.Core/src/ApplicationServices/FileSystem/SubStream.vb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ Namespace ApplicationServices
139139
m_position = offset
140140
End Sub
141141

142+
Public Overrides Function ToString() As String
143+
Return $"sub-stream of '{s}' from {StringFormats.Lanudry(offset)} with span size {StringFormats.Lanudry(Length)}"
144+
End Function
145+
142146
''' <summary>
143147
''' commit data to the base stream
144148
''' </summary>

0 commit comments

Comments
 (0)