Skip to content
This repository
Browse code

[S32::Containers] document Buf.subbuf

  • Loading branch information...
commit 4238dafdc83d8e0ab96274766bccb38446c76e32 1 parent c80acf9
Moritz Lenz authored August 27, 2012

Showing 1 changed file with 10 additions and 2 deletions. Show diff stats Hide diff stats

  1. 12  S32-setting-library/Containers.pod
12  S32-setting-library/Containers.pod
Source Rendered
@@ -19,8 +19,8 @@ DRAFT: Synopsis 32: Setting Library - Containers.pod
19 19
 
20 20
     Created: 19 Feb 2009 extracted from S29-functions.pod
21 21
 
22  
-    Last Modified: 2 Mar 2012
23  
-    Version: 30
  22
+    Last Modified: 27 Aug 2012
  23
+    Version: 31
24 24
 
25 25
 The document is a draft.
26 26
 
@@ -934,8 +934,16 @@ Decode the C<Buf> into a C<Str>. For subtypes that know their encoding (like
934 934
 C<utf8>, C<utf16>) the C<$encoding> parameter defaults to their intrinsic
935 935
 encoding instead.
936 936
 
  937
+=item  subbuf
  938
+
  939
+    method subbuf($from, $elems?) returns Buf:D
  940
+
  941
+Returns a part of the original buffer, starting from index C<$from> and taking
  942
+C<$elems> elements (or to the end of the buffer, if not provided).
  943
+
937 944
 =back
938 945
 
  946
+
939 947
 =head3 C<Buf> Operators
940 948
 
941 949
 Two C<Buf> objects of the same bit size can be compared with the same

0 notes on commit 4238daf

Please sign in to comment.
Something went wrong with that request. Please try again.