summaryrefslogtreecommitdiff
path: root/src/formatter.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-08-03 21:33:33 +0000
committerMike Buland <eichlan@xagasoft.com>2009-08-03 21:33:33 +0000
commit6e6402825bcd6021d62fd2eb8a0669641fe9c266 (patch)
tree6942e99b440849046482e99eef7590014c06120d /src/formatter.h
parentfbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a (diff)
downloadlibbu++-6e6402825bcd6021d62fd2eb8a0669641fe9c266.tar.gz
libbu++-6e6402825bcd6021d62fd2eb8a0669641fe9c266.tar.bz2
libbu++-6e6402825bcd6021d62fd2eb8a0669641fe9c266.tar.xz
libbu++-6e6402825bcd6021d62fd2eb8a0669641fe9c266.zip
Hey, buffer has some good tweaks, added some stuff and fixed stuff in formatter
and base64 no longer accidentally complains about properly formatted streams, as much...
Diffstat (limited to 'src/formatter.h')
-rw-r--r--src/formatter.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/formatter.h b/src/formatter.h
index aacf893..8bb8e08 100644
--- a/src/formatter.h
+++ b/src/formatter.h
@@ -64,9 +64,14 @@ namespace Bu
64 return Fmt( uWidth, 16, Right, false, bCaps, '0' ); 64 return Fmt( uWidth, 16, Right, false, bCaps, '0' );
65 } 65 }
66 66
67 static Fmt oct( unsigned int uWidth=0, bool bCaps=true ) 67 static Fmt oct( unsigned int uWidth=0 )
68 { 68 {
69 return Fmt( uWidth, 8, Right, false, bCaps, '0' ); 69 return Fmt( uWidth, 8, Right, false, false, '0' );
70 }
71
72 static Fmt bin( unsigned int uWidth=0 )
73 {
74 return Fmt( uWidth, 1, Right, false, false, '0' );
70 } 75 }
71 76
72 static Fmt ptr( bool bCaps=true ) 77 static Fmt ptr( bool bCaps=true )