We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfff756 commit 3ba3ef1Copy full SHA for 3ba3ef1
1 file changed
src/Node/Buffer.purs
@@ -118,15 +118,15 @@ foreign import readImpl :: String -> Offset -> Buffer -> Number
118
-- |
119
-- Reads a section of a buffer as a string with the specified encoding.
120
--
121
-readString :: forall e. Encoding -> Offset -> Offset -> Buffer -> String
+readString :: Encoding -> Offset -> Offset -> Buffer -> String
122
readString = readStringImpl <<< show
123
124
foreign import readStringImpl :: String -> Offset -> Offset -> Buffer -> String
125
126
127
-- Reads the buffer as a string with the specified encoding.
128
129
-toString :: forall e. Encoding -> Buffer -> String
+toString :: Encoding -> Buffer -> String
130
toString = toStringImpl <<< show
131
132
foreign import toStringImpl :: String -> Buffer -> String
0 commit comments