You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Whether the stream has ended. If the read function returns Nil that will also signify end of stream,
34
+
/// so if your stream will never know in advance that it's ended and always requires an extra read to know the end, you can always return false from this method.
35
+
func isEndOfStream()->Bool
32
36
}
33
37
34
38
publicextensionIStreamable{
@@ -50,67 +54,3 @@ public enum StreamSeekType: UInt32 {
50
54
case end =2
51
55
}
52
56
53
-
extensionFileHandle:IStreamable{
54
-
55
-
publicfunc length()throws->UInt64{
56
-
letlength:UInt64
57
-
letsavedPos:UInt64
58
-
if #available(macOS 11, tvOS 13.4, iOS 13.4, watchOS 6.2,*){
0 commit comments