Re: Start reading at a specific index?

2019-02-02 Thread ToddAndMargo via perl6-users
> On Sat, Feb 2, 2019 at 9:02 PM ToddAndMargo via perl6-users > wrote: >> >> On 2/2/19 3:16 AM, Shlomi Fish wrote: >>> On Sat, 2 Feb 2019 01:08:39 -0800 >>> ToddAndMargo via perl6-users wrote: >>> >>>> Hi All, >>>> >>

Re: Start reading at a specific index?

2019-02-02 Thread Brad Gilbert
t; On Sat, 2 Feb 2019 01:08:39 -0800 > > ToddAndMargo via perl6-users wrote: > > > >> Hi All, > >> > >> Is there a way to modify this to start reading at > >> a specific index? And include how many bytes (300) > >> to read as w

Re: Start reading at a specific index?

2019-02-02 Thread ToddAndMargo via perl6-users
On 2/2/19 3:16 AM, Shlomi Fish wrote: On Sat, 2 Feb 2019 01:08:39 -0800 ToddAndMargo via perl6-users wrote: Hi All, Is there a way to modify this to start reading at a specific index? And include how many bytes (300) to read as well? my $FileHandle = open( $FileName, :bin

Re: Start reading at a specific index?

2019-02-02 Thread Shlomi Fish
On Sat, 2 Feb 2019 01:08:39 -0800 ToddAndMargo via perl6-users wrote: > Hi All, > > Is there a way to modify this to start reading at > a specific index? And include how many bytes (300) > to read as well? > > my $FileHandle = open( $FileName, :bin,

Start reading at a specific index?

2019-02-02 Thread ToddAndMargo via perl6-users
Hi All, Is there a way to modify this to start reading at a specific index? And include how many bytes (300) to read as well? my $FileHandle = open( $FileName, :bin, :ro ); my Buf $BinaryFile = $FileHandle.read( 300 ); Many thanks, -T