SkStream::read() only returns 0 at end.
SkStream::read() only returns 0 at end.

All implementations behave this way, so respect it.

BUG=skia:2936

Review URL: https://codereview.chromium.org/888703002

Igalia/skia,Igalia/skia,PAC-ROM/android_external_skia,pcwalton/skia,noselhq/skia,tmpvar/skia.cc,ominux/skia,AOSPB/external_skia,nvoron23/skia,MonkeyZZZZ/platform_external_skia,qrealka/skia-hc,YUPlayGodDev/platform_external_skia,VRToxin-AOSP/android_external_skia,nvoron23/skia,Jichao/skia,boulzordev/android_external_skia,OneRom/external_skia,TeamExodus/external_skia,MinimalOS-AOSP/platform_external_skia,samuelig/skia,Igalia/skia,nvoron23/skia,google/skia,samuelig/skia,spezi77/android_external_skia,MarshedOut/android_external_skia,timduru/platform-external-skia,w3nd1go/android_external_skia,AOSPB/external_skia,qrealka/skia-hc,OneRom/external_skia,timduru/platform-external-skia,OneRom/external_skia,VRToxin-AOSP/android_external_skia,Hikari-no-Tenshi/android_external_skia,ominux/skia,ominux/skia,noselhq/skia,Igalia/skia,Jichao/skia,noselhq/skia,aosp-mirror/platform_external_skia,nvoron23/skia,PAC-ROM/android_external_skia,google/skia,OneRom/external_skia,spezi77/android_external_skia,aosp-mirror/platform_external_skia,AOSP-YU/platform_external_skia,HalCanary/skia-hc,Jichao/skia,PAC-ROM/android_external_skia,invisiblek/android_external_skia,UBERMALLOW/external_skia,rubenvb/skia,noselhq/skia,nfxosp/platform_external_skia,samuelig/skia,HalCanary/skia-hc,HalCanary/skia-hc,VRToxin-AOSP/android_external_skia,todotodoo/skia,HalCanary/skia-hc,geekboxzone/mmallow_external_skia,AOSPB/external_skia,rubenvb/skia,w3nd1go/android_external_skia,aosp-mirror/platform_external_skia,ominux/skia,BrokenROM/external_skia,MinimalOS-AOSP/platform_external_skia,aosp-mirror/platform_external_skia,Jichao/skia,AOSPB/external_skia,Hikari-no-Tenshi/android_external_skia,Infinitive-OS/platform_external_skia,OneRom/external_skia,TeamTwisted/external_skia,tmpvar/skia.cc,MinimalOS-AOSP/platform_external_skia,aosp-mirror/platform_external_skia,shahrzadmn/skia,invisiblek/android_external_skia,Infinitive-OS/platform_external_skia,TeamTwisted/external_skia,YUPlayGodDev/platform_external_skia,BrokenROM/external_skia,PAC-ROM/android_external_skia,qrealka/skia-hc,MonkeyZZZZ/platform_external_skia,YUPlayGodDev/platform_external_skia,samuelig/skia,pcwalton/skia,AOSPB/external_skia,todotodoo/skia,invisiblek/android_external_skia,w3nd1go/android_external_skia,UBERMALLOW/external_skia,ominux/skia,ominux/skia,scroggo/skia,aosp-mirror/platform_external_skia,YUPlayGodDev/platform_external_skia,pcwalton/skia,nfxosp/platform_external_skia,Jichao/skia,Jichao/skia,rubenvb/skia,scroggo/skia,google/skia,YUPlayGodDev/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,scroggo/skia,AOSPB/external_skia,aosp-mirror/platform_external_skia,nfxosp/platform_external_skia,UBERMALLOW/external_skia,UBERMALLOW/external_skia,invisiblek/android_external_skia,shahrzadmn/skia,Igalia/skia,AOSP-YU/platform_external_skia,ominux/skia,rubenvb/skia,VRToxin-AOSP/android_external_skia,geekboxzone/mmallow_external_skia,MinimalOS-AOSP/platform_external_skia,AOSP-YU/platform_external_skia,spezi77/android_external_skia,TeamTwisted/external_skia,Hikari-no-Tenshi/android_external_skia,geekboxzone/mmallow_external_skia,tmpvar/skia.cc,HalCanary/skia-hc,scroggo/skia,boulzordev/android_external_skia,nvoron23/skia,MarshedOut/android_external_skia,vanish87/skia,invisiblek/android_external_skia,Infinitive-OS/platform_external_skia,vanish87/skia,PAC-ROM/android_external_skia,AOSP-YU/platform_external_skia,todotodoo/skia,timduru/platform-external-skia,spezi77/android_external_skia,noselhq/skia,w3nd1go/android_external_skia,MarshedOut/android_external_skia,MarshedOut/android_external_skia,VRToxin-AOSP/android_external_skia,nfxosp/platform_external_skia,geekboxzone/mmallow_external_skia,HalCanary/skia-hc,todotodoo/skia,UBERMALLOW/external_skia,Infinitive-OS/platform_external_skia,samuelig/skia,BrokenROM/external_skia,Hikari-no-Tenshi/android_external_skia,BrokenROM/external_skia,google/skia,TeamTwisted/external_skia,amyvmiwei/skia,MonkeyZZZZ/platform_external_skia,nfxosp/platform_external_skia,boulzordev/android_external_skia,BrokenROM/external_skia,OneRom/external_skia,todotodoo/skia,ominux/skia,qrealka/skia-hc,shahrzadmn/skia,amyvmiwei/skia,tmpvar/skia.cc,VRToxin-AOSP/android_external_skia,MinimalOS-AOSP/platform_external_skia,qrealka/skia-hc,samuelig/skia,AOSP-YU/platform_external_skia,UBERMALLOW/external_skia,Hikari-no-Tenshi/android_external_skia,google/skia,geekboxzone/mmallow_external_skia,MinimalOS-AOSP/platform_external_skia,shahrzadmn/skia,TeamExodus/external_skia,invisiblek/android_external_skia,scroggo/skia,shahrzadmn/skia,tmpvar/skia.cc,vanish87/skia,UBERMALLOW/external_skia,pcwalton/skia,UBERMALLOW/external_skia,scroggo/skia,samuelig/skia,rubenvb/skia,boulzordev/android_external_skia,BrokenROM/external_skia,HalCanary/skia-hc,TeamExodus/external_skia,BrokenROM/external_skia,Igalia/skia,Jichao/skia,shahrzadmn/skia,rubenvb/skia,OneRom/external_skia,TeamTwisted/external_skia,qrealka/skia-hc,TeamTwisted/external_skia,PAC-ROM/android_external_skia,PAC-ROM/android_external_skia,MonkeyZZZZ/platform_external_skia,boulzordev/android_external_skia,google/skia,spezi77/android_external_skia,AOSP-YU/platform_external_skia,vanish87/skia,TeamExodus/external_skia,vanish87/skia,vanish87/skia,vanish87/skia,YUPlayGodDev/platform_external_skia,scroggo/skia,MarshedOut/android_external_skia,timduru/platform-external-skia,noselhq/skia,MonkeyZZZZ/platform_external_skia,amyvmiwei/skia,MarshedOut/android_external_skia,AOSP-YU/platform_external_skia,pcwalton/skia,geekboxzone/mmallow_external_skia,pcwalton/skia,timduru/platform-external-skia,tmpvar/skia.cc,Igalia/skia,boulzordev/android_external_skia,google/skia,VRToxin-AOSP/android_external_skia,w3nd1go/android_external_skia,rubenvb/skia,AOSP-YU/platform_external_skia,Infinitive-OS/platform_external_skia,amyvmiwei/skia,w3nd1go/android_external_skia,todotodoo/skia,Jichao/skia,Infinitive-OS/platform_external_skia,Hikari-no-Tenshi/android_external_skia,TeamExodus/external_skia,tmpvar/skia.cc,OneRom/external_skia,w3nd1go/android_external_skia,samuelig/skia,HalCanary/skia-hc,nvoron23/skia,TeamTwisted/external_skia,google/skia,invisiblek/android_external_skia,AOSPB/external_skia,MinimalOS-AOSP/platform_external_skia,noselhq/skia,shahrzadmn/skia,MarshedOut/android_external_skia,scroggo/skia,MarshedOut/android_external_skia,MinimalOS-AOSP/platform_external_skia,shahrzadmn/skia,geekboxzone/mmallow_external_skia,vanish87/skia,MonkeyZZZZ/platform_external_skia,geekboxzone/mmallow_external_skia,MonkeyZZZZ/platform_external_skia,pcwalton/skia,Igalia/skia,rubenvb/skia,nfxosp/platform_external_skia,TeamExodus/external_skia,todotodoo/skia,TeamTwisted/external_skia,boulzordev/android_external_skia,geekboxzone/mmallow_external_skia,nvoron23/skia,noselhq/skia,amyvmiwei/skia,nvoron23/skia,nvoron23/skia,vanish87/skia,VRToxin-AOSP/android_external_skia,w3nd1go/android_external_skia,timduru/platform-external-skia,YUPlayGodDev/platform_external_skia,YUPlayGodDev/platform_external_skia,timduru/platform-external-skia,google/skia,pcwalton/skia,Hikari-no-Tenshi/android_external_skia,UBERMALLOW/external_skia,MinimalOS-AOSP/platform_external_skia,noselhq/skia,MonkeyZZZZ/platform_external_skia,aosp-mirror/platform_external_skia,w3nd1go/android_external_skia,TeamTwisted/external_skia,pcwalton/skia,MonkeyZZZZ/platform_external_skia,TeamExodus/external_skia,AOSP-YU/platform_external_skia,TeamExodus/external_skia,Infinitive-OS/platform_external_skia,AOSPB/external_skia,TeamExodus/external_skia,AOSPB/external_skia,nfxosp/platform_external_skia,Hikari-no-Tenshi/android_external_skia,qrealka/skia-hc,tmpvar/skia.cc,HalCanary/skia-hc,nfxosp/platform_external_skia,spezi77/android_external_skia,Infinitive-OS/platform_external_skia,nfxosp/platform_external_skia,YUPlayGodDev/platform_external_skia,aosp-mirror/platform_external_skia,PAC-ROM/android_external_skia,invisiblek/android_external_skia,todotodoo/skia,Jichao/skia,rubenvb/skia,HalCanary/skia-hc,Infinitive-OS/platform_external_skia,amyvmiwei/skia,boulzordev/android_external_skia,OneRom/external_skia,VRToxin-AOSP/android_external_skia,PAC-ROM/android_external_skia,shahrzadmn/skia,amyvmiwei/skia,ominux/skia,boulzordev/android_external_skia,qrealka/skia-hc,amyvmiwei/skia,tmpvar/skia.cc,todotodoo/skia,MarshedOut/android_external_skia,rubenvb/skia,BrokenROM/external_skia